<?php
/**
 * Created by PhpStorm.
 * User: aoc
 * Date: 2018/6/19
 * Time: 19:21
 */

namespace app\api\controller\v2\model\order;

use think\Model;
use think\Db;

class Order extends model
{
    const CREATEORDER = 0;
    const CHECKORDER = 100;
    const PAYFAILED = 201;
    const PAYSUCCESS = 202;
    const SENDED = 220;
    const RECEIVED = 260;

    public static $status = [
        self::CREATEORDER => '订单初始化',
        self::CHECKORDER  => '待支付',
        self::PAYFAILED   => '支付失败',
        self::PAYSUCCESS  => '等待发货',
        self::SENDED      => '已发货',
        self::RECEIVED    => '订单完成',
    ];
}